package com.longcai.entity.auth;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;

import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 商家用户角色关联表
 * </p>
 *
 * @author M
 * @since 2019-04-09
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
public class SysShopsRoleUser implements Serializable {
    private static final long serialVersionUID = 1L;

    @TableId(value = "userId", type = IdType.UUID)
    private String userId;
    @TableField("roleId")
    private String roleId;

    public SysShopsRoleUser(String userId, String roleId) {
        super();
        this.userId = userId;
        this.roleId = roleId;
    }

}
